package com.ny.nybase.widget.ptr;

import android.view.MotionEvent;

/**
 * Created by LiangYu on 2018/1/8.
 */
public interface GestureHandler {

    boolean dispatchTouchEvent(MotionEvent ev);

    boolean onTouchEvent(MotionEvent ev);

    boolean onInterceptTouchEvent(MotionEvent ev);

    void computeScroll();

    void stopHeaderRefresh(boolean anim);

    void stopFooterRefresh(boolean anim);

    void startHeaderRefresh();

    void startFooterRefresh();

    void resetFooter();
}
